/**
 * Copyright (c) 2007,中企动力华南研发中心<br>
 * All rights reserved.
 */
package com.ce.pms.charge.service;

import com.ce.pms.base.service.IPmsBaseService;
import com.ce.pms.charge.model.AbstractStaVersion;
import com.ce.pms.charge.vo.CharStaChoFixedVO;
import com.ce.pms.charge.vo.ChargeStaChoVO;
import com.sitechasia.webx.core.support.Page;

/**
 * 功能描述：房间标准选用（固定费用）<br>
 * @author 罗军林 创建日期：2008-8-7
 */
public interface ICharStoChoFixedService extends IPmsBaseService {
	/**
	 * 功能描述:查询满足条件的收费项目<br>
	 * @param condition
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-7<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public Page queryCharStoChoFixed(ChargeStaChoVO condition);

	/**
	 * 功能描述:增加一次固定费用的标准选用<br>
	 * @param charStaChoMeterVO
	 * Create author:罗军林<br>
	 * Create on:2008-8-12<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public void addCharStaChoFixed(CharStaChoFixedVO charStaChoFixedVO);

	/**
	 * 功能描述:删除一条标准选用<br>
	 * @param keyword<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-12<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public void deleteCharStaChoFixed(Long keyword);

	/**
	 * 功能描述:修改标准选用<br>
	 * @param charStaChoMeterVO
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-12<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public CharStaChoFixedVO editCharStaChoFixed(CharStaChoFixedVO charStaChoFixedVO);

	/**
	 * 功能描述:根据主键查找<br>
	 * @param keyword
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-21<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public CharStaChoFixedVO findCharStoChoById(Long keyword);

	/**
	 * 功能描述:当项目ID、房号ID相同时，返回true<br>
	 * 注：修改时要排除oldCondition条件
	 * @param searchCondition
	 * @param oldCondition
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-13<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public Boolean checkExistCharStoChoFixed(CharStaChoFixedVO searchCondition,CharStaChoFixedVO oldCondition);

	/**
	 * 功能描述:更新指定收费标准的房间标准选用表中的费用,如果该标准还没有被选用将返回false<br>
	 * @param charStaId<br>
	 * @param staVersion
	 * Create author:罗军林<br>
	 * Create on:2008-10-10<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public boolean updateCharstChoAmt(Long charStaId,AbstractStaVersion staVersion);
}
